<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>托盘位置</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">

		<!--标准mui.css-->
		<link rel="stylesheet" href="../css/mui.min.css">
		<!--App自定义的css-->
		<link rel="stylesheet" type="text/css" href="../css/app.css" />
	</head>

	<body>
		<header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title">绑定位置</h1>
		</header>
		<div class="mui-content">
			<input id="boxCodeInput" type="text" class="mui-input-clear" placeholder="托盘条码">
			<input id="loc" type="text" class="mui-input-clear" placeholder="位置">	
		</div>
		<button id="saveButton" type="button" class="mui-btn mui-btn-block mui-btn-primary">托盘位置确认</button>
	</body>
	<script src="../js/mui.js"></script> 
	<script src="kj.js"></script>
	<script>
			mui.init(); 
		 
		    document.getElementById('saveButton').addEventListener('tap',confirmEvent("确认绑定位置？" , function() {  
				var boxCode=document.getElementById("boxCodeInput").value
				var loc=   document.getElementById('loc').value
				myGet("pda/pinkuIn/"+boxCode+"/"+loc+"/"+1, function(data) {
					mui.toast(data) 
				} ); 
			}), false); 
	</script>
 
</html>